home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Sprite 1984 - 1993
/
Sprite 1984 - 1993.iso
/
src
/
boot
/
decprom
/
ds3100.md
/
RCS
/
devFsOpTable.c,v
< prev
next >
Wrap
Text File
|
1990-02-16
|
2KB
|
87 lines
head 1.1;
branch ;
access ;
symbols ;
locks ; strict;
comment @ * @;
1.1
date 90.02.16.16.19.06; author shirriff; state Exp;
branches ;
next ;
desc
@@
1.1
log
@Initial revision
@
text
@/*
* devFsOpTable.c --
*
* The operation tables for the file system devices.
*
* Copyright 1987, 1988 Regents of the University of California
* Permission to use, copy, modify, and distribute this
* software and its documentation for any purpose and without
* fee is hereby granted, provided that the above copyright
* notice appear in all copies. The University of California
* makes no representations about the suitability of this
* software for any purpose. It is provided "as is" without
* express or implied warranty.
*/
#ifdef notdef
static char rcsid[] = "$Header: /sprite/src/boot/dsprom/ds3100.md/RCS/devFsOpTable.c,v 1.1 90/02/13 23:40:07 shirriff Exp Locker: shirriff $ SPRITE (Berkeley)";
#endif not lint
#include "sprite.h"
#include <kernel/dev.h>
#include <kernel/devFsOpTable.h>
extern ReturnStatus DecPromDevOpen();
extern ReturnStatus DecPromDevRead();
static ReturnStatus NullProc();
/*
* Device type specific routine table:
* This is for the file-like operations as they apply to devices.
* DeviceOpen
* DeviceRead
* DeviceWrite
* DeviceIOControl
* DeviceClose
* DeviceSelect
* BlockDeviceAttach
*/
DevFsTypeOps devFsOpTable[] = {
/*
* Simple interface to the routines in the Dec PROM.
*/
{0, DecPromDevOpen, DecPromDevRead,
NullProc, NullProc,
NullProc, NullProc, NullProc},
};
int devNumDevices = sizeof(devFsOpTable) / sizeof(DevFsTypeOps);
static ReturnStatus
NullProc()
{
return(SUCCESS);
}
@